#  ptrue   p1.s
# 4145 clk R p1 1111
# 4146 clk IT (4146) 0002d3e8:00001522d3e8_NS 2598e3e2 O EL0t_n :         ptrue   p2.s
# 4146 clk R p2 1111
# 4147 clk IT (4147) 0002d3ec:00001522d3ec_NS 2518e404 O EL0t_n :         pfalse  p4.b
# 4147 clk R p4 0000
# 4148 clk IT (4148) 0002d3f0:00001522d3f0_NS 2598e020 O EL0t_n :         ptrue   p0.s, vl1
# 4148 clk R p0 0001
# 4149 clk IT (4149) 0002d3f4:00001522d3f4_NS 25804490 O EL0t_n :         orn     p0.b, p1/z, p4.b, p0.b
# 4149 clk R p0 1110
# 4150 clk IT (4150) 0002d3f8:00001522d3f8_NS 04a14020 O EL0t_n :         index   z0.s, #1, #1
# 4150 clk R z0 00000004_00000003_00000002_00000001
# 4151 clk IT (4151) 0002d3fc:00001522d3fc_NS 05a18001 O EL0t_n :         compact z1.s, p0, z0.s
# 4151 clk R z1 00000000_00000004_00000003_00000002
# 4151 clk CACHE cpu0.l1icache LINE 00a1 ALLOC 0x00001522d400_NS
# 4151 clk CACHE cpu.l2_cache LINE 1500 ALLOC 0x00001522d400_NS
# 4152 clk IT (4152) 0002d400:00001522d400_NS 04a14682 O EL0t_n :         index   z2.s, w20, #1
# 4152 clk R z2 00000005_00000004_00000003_00000002
# 4153 clk IT (4153) 0002d404:00001522d404_NS 05b44003 O EL0t_n :         rev     p3.s, p0.s
# 4153 clk R p3 0111
# 4154 clk IT (4154) 0002d408:00001522d408_NS 25834493 O EL0t_n :         orn     p3.b, p1/z, p4.b, p3.b
# 4154 clk R p3 1000
# 4155 clk IT (4155) 0002d40c:00001522d40c_NS 05934002 O EL0t_n :         mov     z2.s, p3/m, #0
# 4155 clk R z2 00000000_00000004_00000003_00000002
# 4156 clk IT (4156) 0002d410:00001522d410_NS 2482a43f O EL0t_n :         cmpne   p15.s, p1/z, z1.s, z2.s
# 4156 clk R cpsr 600003c0
# 4156 clk R p15 0000


_test_entry:
  	mov z0.s, #0
  	mov z1.s, #0
  	mov z2.s, #0                                                                   
  	mov w20, #0
  	ptrue p15.s

  	ptrue p3.s,  vl1                                                                
  	ptrue p1.s     
	ptrue p2.s
	pfalse p4.b
	ptrue p0.s, vl1
	orn p0.b, p1/z, p4.b, p0.b
	index z0.s, #1, #1

	# # ldr z4.s, =0x4000000030000000200000001
	# mov z4.s, #1
	# # add z4.s, z4.s, lsl #32
	# lsl z4.s, z4.s, 4

	compact z1.s, p0, z0.s
	index z2.s, w20, #1
	rev p3.s, p0.s
	orn p3.b, p1/z, p4.b, p3.b
	mov z2.s, p3/m, #0
	cmpne p15.s, p1/z, z1.s, z2.s
	b.eq _a
_a:
	mov x1, #1
_b:
	mov x2, #2
